/*
package com.example.annotation;

import cn.hutool.core.util.StrUtil;
import com.example.model.TestUser;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

public class PasswordValidator implements ConstraintValidator<ParamEqual, TestUser> {

    @Override
    public boolean isValid(TestUser dto, ConstraintValidatorContext constraintValidatorContext) {
        if (StrUtil.isBlank(dto.getUsername())){
            return true;
        }
        return false;
    }


}*/
